dojo.provide("test.utilities");

dojo.require("doh.runner");
dojo.require("spaghetti.utility");

setUp = function(){
	this.sample = {
		foo : 1,
		bar : 2,
		dummy : function(){}
	};
	
	console.info("Setting up " + this.name);
}

tearDown = function(){
	console.info("Tearing down " + this.name);
}

doh.register("Utility Test Cases", [
{
	name : "Test getPropertyNames",
	setUp : setUp,
	runTest : function(){
		doh.is(["foo", "bar"], spaghetti.getPropertyNames(this.sample));
	},
	tearDown : tearDown
}
]);